home *** CD-ROM | disk | FTP | other *** search
- Path: hobbes.cc.uga.edu!pollux!greear
- From: greear@pollux.cs.uga.edu (Ben Greear)
- Newsgroups: comp.lang.c
- Subject: bitfields, how big can their elements be?
- Date: 12 Mar 1996 01:51:07 GMT
- Organization: University of Georgia, Athens
- Message-ID: <4i2lab$ili@hobbes.cc.uga.edu>
- NNTP-Posting-Host: pollux.cs.uga.edu
-
-
- Ok, i have a question on bitfields.... How big can their members be,
- for example, where does this one become illegal?
-
-
- struct bitfield {
- little: 8;
- med: 16;
- large: 32;
- huge: 64;
- realy_realy_huge: 128;
- one_k: 1024;
- };
-
-
- thanks,
-
- Ben Greear | "More weight." -- The Crucible
- greear@pollux.cs.uga.edu | "Son, you got a panty on yer head."
- Junior at UGA --Raising Arizona
-
-
-
-